package com.plm.mqshequ.service;

import com.plm.mqshequ.entity.UserRole;

import java.util.List;

/**
 * @author Limi
 * @create 2019-01-15 11:57
 */
public interface UserRoleService {

    void add(UserRole userRole);

    void deleteById(UserRole userRole);

    void updateById(UserRole userRole);

    void updateByUId(UserRole userRole);

    void updateByRId(UserRole userRole);

    List<UserRole> query();

    UserRole queryById(String id);

    UserRole queryByUId(String uid);

    List<UserRole> queryByRId(String rid);

}
